
public class ArraySorter{

	public synchronized static String[] ordenar(String array[]) {
		for (int i = 0; i < array.length - 1; i++) {
			for (int c = 0; c < array.length - 1; c++){
				if (array[c].compareTo(array[c+1]) > 0){
					String auxiliar = array[c];
					array[c] = array[c + 1];
					array[c + 1] = auxiliar;
				}
			}
		}
		return array;
	}
}
